//
//  Header.h
//  图片故事
//
//  Created by 大帅逼 on 16/1/6.
//  Copyright © 2016年 helloApp. All rights reserved.
//

#ifndef Header_h
#define Header_h


#define SCREEN_W [UIScreen mainScreen].bounds.size.width
#define SCREEN_H [UIScreen mainScreen].bounds.size.height

#define My_Color( r, g, b, a) [UIColor colorWithRed:r / 255.0 green:g / 255.0 blue:b / 255.0 alpha:a]

#define IMAGE_NAME(name) [UIImage imageWithContentsOfFile:[[NSBundle mainBundle] pathForAuxiliaryExecutable:name]]

#define RATE 0.75

#define SYSTEM_VERSION [[UIDevice currentDevice].systemVersion floatValue]

#define My_Height(H) ([UIScreen mainScreen].bounds.size.height / 667 ) * H

#define My_Width(W) ([UIScreen mainScreen].bounds.size.width / 375 ) * W

#define Bg_Color [UIColor colorWithRed:19/255.0 green:20/255.0 blue:22/255.0 alpha:1]

#define Btn_Color [UIColor colorWithRed:44/255.0 green:45/255.0 blue:49/255.0 alpha:1]

#endif /* Header_h */
